home *** CD-ROM | disk | FTP | other *** search
- Introduction
-
- AGP, the Archimedes Graph Plotter, is a WIMP-based program to plot
- graphs of functions (for example y=sin(x)). It can plot up to two
- graphs on the same axes and allows control over the range of the axes
- and the colours of the graphs. If you are not familiar with RISC OS,
- you may find it useful to refer to pages 3-16 and 68-73 of the RISC OS
- User Guide (Issue 1) before using AGP.
-
- Further Help
-
- AGP has a help system provided by Ben Summers' HelpReader system. This
- provides similar information to that in this guide. It also provides
- help to !Help and similar systems.
-
- Starting & Stopping
-
- To start AGP, double-click on its icon in a directory display. Its icon
- will appear on the icon bar. Clicking Select on this icon opens two
- windows: the main AGP window and the Controls window. To quit AGP,
- click Menu over the AGP icon and choose Quit from the menu.
-
- Functions
-
- AGP expects its functions to be in a format acceptable to BASIC. For
- those of you who don't understand how BASIC expressions work, they are
- in the normal algebraic format, although division is expressed by /,
- multiplication by * and raising to powers by ^. AGP performs some
- pre-processing, so you can enter the function in lower case and use ¹
- (Alt+1), ² (Alt+2) and ³ (Alt+3) instead of ^1 (not that you'd want to
- use this), ^2 and ^3. AGP now supports implied multiplication, so you
- can enter 2x for 2*x. You can also use × and ÷ for * and /. If there
- are any errors in the expression, you will be informed and it will not
- be plotted.
-
- The Controls Window
-
- When the AGP icon on the icon bar is clicked on, in addition to the main
- Graph window, a small pane opens on the side of it. This is the
- Controls window. It provides a convenient way to access some of AGP's
- options. Anything that can be done from this window can also be done
- via AGP's menu structure. The functions used by AGP to plot its graphs
- are shown in the two writeable icons at the top of the window. The
- plotting of the graphs is controlled by the button to the left of each
- function. When a button is depressed, that function will be plotted.
- The colours used to plot the graphs are shown in two boxes in the bottom
- left-hand corner of the window. To change these colours, click Menu on
- the arrow to the right of the colour you wish to change. This will open
- a colour dialogue box (See pages 70-71 of the RISC OS User Guide (Issue
- 1)). To the left of these, the current co-ordinates of the pointer
- within the Graph window are shown. At the for left of the window are
- the zoom icons. See below for more details.
-
- Graph Re-sizing
-
- There is a small icon in the bottom right-hand corner of the graph
- window. Dragging this with Select will cause the size of the graph
- within the window to change. This is useful if you have a cluttered
- desktop and don’t have room to fill it with a huge graph. The icon
- always stays in the corner of the work area of the window, so you may
- have to scroll the window to find it.
-
- The Icon Bar Menu
-
- This menu is called up by clicking Menu on AGP’s icon on the icon bar.
- The Info option leads to a standard RISC OS Info box, which provides
- information about AGP and a nice little scrolltext. The Help option
- loads a help text, using Ben Summers' HelpReader system. This will
- automatically move itself to relate to what is being done with AGP. The
- Quit option causes AGP to quit.
-
- The Graph Menu
-
- This menu is called up by clicking Menu in the AGP Graph window. This
- allows control over the graph. All of the options in this menu lead to
- sub-menus, so they are described under other headings below.
-
- The Save Menu
-
- This menu, accessed via the Save option in the Graph menu, allows you to
- save the graph via standard RISC OS save dialogue boxes. The formats
- available are:
-
- Graph AGP’s own format (for re-loading into AGP).
-
- DrawFile The Draw format (For importing into DTP packages,
- drawing packages etc.).
-
- The use of these dialogue boxes is explained on page 47 of the RISC OS
- User Guide (Issue 1).
-
- The Settings Menu
-
- This menu is accessed from the Settings option of the Graph menu. It
- allows you to alter settings which apply to the whole of the graph. The
- Range option leads to the Range dialogue box (described below). The
- Zoom in and Zoom out options engage or disengage zoom in or zoom out
- mode respectively. In zoom in mode, it is possible to drag a box around
- an area which will then be expanded to fill the window. The zoom out
- option works in the opposite way, with the window's contents shrinking
- to fit the box. These options can also be controlled using the relevant
- icons in the Controls window. The Size option leads to a box which
- allows you to alter the size of the graph, as with the Re-size Graph
- icon. The values can be entered in centimetres or inches, the units
- being used are specified with the radio buttons. The Grid option turns
- on and off a grid behind the graph. You will probably be unable to see
- this in two-colour modes. The Angles option leads to the Angles menu,
- from which you can choose whether trigonometric functions use Degrees or
- Radians. Grads are not yet supported, and, unless someone asks for it,
- they are unlikely to ever be.
-
- The Range Dialogue Box
-
- This box allows you to change the range of the x and y axes of the
- graph. You must enter a maximum and a minimum value for each.
-
- The Function Menu
-
- This menu allows you to change various aspects of a function and the way
- it is plotted. The Plot option controls whether or not the function
- will be plotted. The Colour option leads to a standard RISC OS colour
- selector. Instructions on using this are on pages 70-71 of the RISC OS
- User Guide (Issue 1). The Resolution option leads to a menu which
- allows you to change how many points AGP samples in order to plot the
- graph. High resolution is accurate but slow, while Low resolution is
- fast but inaccurate. Of course, if you've got an ARM 3, you haven't got
- any problems.
-
- Re-plotting
-
- Many actions within AGP cause the graph to be re-plotted. Especially
- when using complex functions or a high resolution, this can take a long
- time. If you are changing many options at the same time, you can hold
- down Shift to prevent the graph being re-plotted until you change the
- last option.
-
- The Print Dialogue Box
-
- This dialogue box is accessed via the Print entry on the Graph menu.
- This option is 'greyed out' if there is no printer driver installed.
- This option allows you to print out the current graph through a standard
- RISC OS printer driver. You can type the number of copies in the Copies
- field and the scaling to be applied to the graph before printing in the
- Scaling fields. For example 2:1 means double size. The radio buttons
- below these allow you to choose whether the graph is plotted in Portrait
- (upright) or Landscape (sideways) mode. The Margins fields hold the
- distance from the bottom left-hand corner of the paper at which the
- graph will be printed in the units specified by the radio buttons below.
- These treat the bottom left-hand corner of the paper as being that near
- to the bottom left-hand corner of the graph. To centre the graph on the
- paper, click on the Centre button. This should be done after setting
- all of the other options, to ensure correct positioning. Click on the
- Print button to start printing. Printing can be stopped by pressing
- Escape.
-
- The Controls Menu
-
- This menu allows control over the positioning of the Controls window.
- It is accessed via the Controls option in the Graph menu. The Linked
- option links the Controls window to the side of the graph window. The
- Loose option detaches it and allows it to move independently. Finally,
- the Off option removes the Controls window from the desktop entirely.
-
- File Handling
-
- AGP uses file type &124. If this clashes with another program’s file
- type, please write to me, so that I can change it.
-
- AGP supports in-RAM transfer with co-operating applications such as
- Draw. It can also use the simpler Wimp$Scrap protocol with
- applications, like DrawPlus, which don't support in-RAM transfer.
-
- The file format used by AGP changes fairly frequently, although each
- version of AGP can load files created by previous versions. This means,
- however, that one version of AGP may not be able to load a file
- generated by a newer one. If you want details of the file format,
- please write to me.
-
- When it starts up, AGP loads the file ‘!AGP.Default’ automatically.
- This file can be altered if you want different settings on start up.
-
- Viruses
-
- When it left my hands, AGP was not infected with a virus. In fact, none
- of my discs have ever been infected. The following files should be in
- the !AGP directory:
-
- !Boot, !Help, !Run, !RunImage, !Sprites, Default, Help, HelpRdrLib,
- HelpReader, HelpTable, Interface, MenuMod, Menus, Messages, Sprites,
- Templates, Text
-
- You may also find HelpDes and MakeHelp. If you do, please delete them,
- as you don’t need them. If you find any other files, check !AGP with a
- virus killer.
-
- History
-
- 1.00 (12-Jul-1991)
- First released version.
-
- 1.01 (16-Jul-1991)
- Axis tick marks added.
- Caret handling improved.
-
- 1.10 (24-Jul-1991)
- Layout of Tools window improved and renamed to Controls.
- Support for full range of colours added (using ColourTrans).
-
- 1.11 (12-Aug-1991)
- Window opening made to work better with ZoomBoxer.
- More options added to menus.
- Menu handling routines re-written.
-
- 1.12 (17-Aug-1991)
- Support for new, context-sensitive Helpreader added.
-
- 1.20 (18-Aug-1991)
- Plotting changed to use Drawing Module.
- Printing facility added.
- Menu positioning improved.
-
- 1.21 (7-Sep-1991)
- Controls window re-arranged (again).
- Graph window enlarged.
- Plotting routines improved.
- Menu positioning improved (again).
- Position display added.
- Error handling improved.
-
- 1.22 (18-Sep-1991)
- Bug in position display fixed.
- Bug in printing routine fixed.
-
- 1.23 (20-Sep-1991)
- Printing routine improved.
-
- 1.30 (29-Sep-1991)
- Saving and loading routines added.
-
- 1.31 (1-Oct-1991)
- DrawFile saving routines added.
- Title window added.
-
- 1.32 (2-Oct-1991)
- In-RAM transfer support added.
-
- 1.33 (4-Oct-1991)
- Resolution control added.
-
- 1.34 (7-Oct-1991)
- Plotting routine improved.
- Resolution controls removed from Controls window.
- Colour dialogue box improved.
-
- 1.35 (10-Oct-1991)
- Tick mark positioning algorithm improved.
-
- 1.36 (18-Oct-1991)
- Accuracy of tick mark routine improved.
- Key press handling improved.
- Scrolltext added.
-
- 1.37 (8-Nov-1991)
- Scrolltext speed increased.
- Interpretation of power symbols (¹²³) added.
- Error handler improved.
-
- 1.38 (15-Nov-1991)
- Interpretation of ÷ and × symbols added.
- Graph resizing added.
- Linked Control window added.
-
- 1.39 (29-Nov-1991)
- Desktop boot saving added.
- Error handling improved.
- Degrees/radians support added.
- Wimp$Scrap checking added.
- Grid support added.
- Support for dashed lines added.
- Dashed lines for off-graph axes added.
-
- 1.40 (5-Dec-1991)
- Axis scale marks added.
- Accuracy of tick mark positioning improved.
- Zooming added.
-
- 1.41 (6-Dec-1991)
- Various minor bugs corrected.
-
- 1.50 (21-Jan-1992)
- Printing routines improved.
- RISC OS compliance improved.
- Menu handling altered to work with RISC OS 3.
-
- 1.51 (29-Jan-1992)
- Help on menus (under RISC OS 3) added.
- Bug in plotting routine corrected.
-
- 1.52 (31-Jan-1992)
- Bug in message handler fixed.
-
- 1.53 (14-Feb-1992)
- Function parser vastly improved.
-
- 1.54 (18-Feb-1992)
- Colour storage improved.
- Main program crunched.
-
- 1.60 (15-Apr-1992)
- Hi-res sprite sets and support added.
- Bug in error handler fixed.
- Contents of title bar of main window altered.
- Grid colour made variable.
- RISC OS 3 dithering in colour displays added.
- Controls window re-designed to lengthen function fields.
- Interface Manager updated to version 2.00.
- Centring of title, printing and graph windows added.
- Re-size drag box limits corrected.
-
- 1.61 (2-May-1992)
- Faults in templates corrected.
- Scrolltext routines improved.
-
- Conditions of use:
-
- AGP and this manual are Copyright © 1992 Ben Harris.
-
- This application may be freely copied and distributed.
-
- AGP may not be modified in any way without my prior permission. You may
- use any part or whole of this application in any program as long as my
- permission is obtained, I am sent a copy of the finished program and I
- am fully credited for my contribution in all relevant documentation.
-
- If I find that anyone has breached these conditions, they will be
- hanged, drawn and quartered (or at least given a stern ticking-off).
-
- Thanks to...
- Simon Huntingdon For his Interface Manager, which handles AGP’s
- 3D effects and pointer shapes.
- Ben Summers For his Helpreader help system and for his help
- with the intricacies of RISC OS.
- David Andrews For his Menu Manager, which does most of AGP’s
- menu handling.
- Martyn Spencer For giving me free use of the Coombe Dean School
- computer room in the development of AGP.
-
- My Address
-
- If for any reason you would like to contact me (to report bugs, suggest
- improvements, give praise, donate money, etc.), please write to me at:
-
- Ben Harris,
- 9 Brownhill Lane,
- Wembury,
- Plymouth,
- Devon.
- PL9 0JQ
-